package basicgrammer;

public class TestObject {
	private final StringBuffer sb = new StringBuffer("hello");
	private final int b=1;
	public String setSb(String s){
		sb.replace(0,sb.length(), "");
		sb.append(s);
		return "1";
	}
	public String getSb(){
		return sb.toString();
	}
	public String setSb(){
		sb.replace(0,sb.length(), "");
		return "2";
	}
	@SuppressWarnings("unused")
	private int getB(){
		return b;
	}
	@SuppressWarnings("unused")
	private int setB(){
		
		return 1;
	}
	
}
